package com.pureut.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.system.domain.SampleRequirement;
import com.pureut.system.domain.dto.SampleRequirementDetailsDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-04 16:59:44
 * @Desc: 样品需求
 */
@Mapper
public interface SampleRequirementMapper extends BaseMapper<SampleRequirement> {

    /**
     * 根据样品申请单id查询list
     * @param id
     * @return
     */
    List<SampleRequirementDetailsDto> getListBySamlpleId(@Param("id") Long id);
}
